package com.example.choupaiapp.main.bean;

import java.io.Serializable;

/**
 * Created by ASUS on 2019/11/20.
 */

public class VersionBean implements Serializable {

    /**
     * msg : success
     * code : 0
     * versions : {"iosVersions":"ios版本号","iosConstraint":1,"androidVersions":"安卓版本号","androidConstraint":1,"content":"更新内容","url":"安装包下载路径","lastVersions":"上一个强制更新版本号"}
     */

    private String msg;
    private int code;
    private VersionsBean versions;
    private int isInvite;
    private String imageUrl;
    private String jumpUrl;
    private String floatingImage;
    private String releaseUrl;
    private String inviteCodeImage;
    private String invitePublishTitle;

    public String getInvitePublishTitle() {
        return invitePublishTitle;
    }

    public void setInvitePublishTitle(String invitePublishTitle) {
        this.invitePublishTitle = invitePublishTitle;
    }

    public String getInviteCodeImage() {
        return inviteCodeImage;
    }

    public void setInviteCodeImage(String inviteCodeImage) {
        this.inviteCodeImage = inviteCodeImage;
    }

    public String getReleaseUrl() {
        return releaseUrl;
    }

    public void setReleaseUrl(String releaseUrl) {
        this.releaseUrl = releaseUrl;
    }

    public String getFloatingImage() {
        return floatingImage;
    }

    public void setFloatingImage(String floatingImage) {
        this.floatingImage = floatingImage;
    }

    public String getJumpUrl() {
        return jumpUrl;
    }

    public void setJumpUrl(String jumpUrl) {
        this.jumpUrl = jumpUrl;
    }

    public String getImageUrl() {
        return imageUrl;
    }

    public void setImageUrl(String imageUrl) {
        this.imageUrl = imageUrl;
    }

    public int getIsInvite() {
        return isInvite;
    }

    public void setIsInvite(int isInvite) {
        this.isInvite = isInvite;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public VersionsBean getVersions() {
        return versions;
    }

    public void setVersions(VersionsBean versions) {
        this.versions = versions;
    }

    public static class VersionsBean implements Serializable {
        /**
         * iosVersions : ios版本号
         * iosConstraint : 1
         * androidVersions : 安卓版本号
         * androidConstraint : 1
         * content : 更新内容
         * url : 安装包下载路径
         * lastVersions : 上一个强制更新版本号
         */

        private String iosVersions;
        private int iosConstraint;
        private String androidVersions;
        private int androidConstraint;
        private String content;
        private String url;
        private String lastVersions;
        private int androidIsShow;

        public int getAndroidIsShow() {
            return androidIsShow;
        }

        public void setAndroidIsShow(int androidIsShow) {
            this.androidIsShow = androidIsShow;
        }

        public String getIosVersions() {
            return iosVersions;
        }

        public void setIosVersions(String iosVersions) {
            this.iosVersions = iosVersions;
        }

        public int getIosConstraint() {
            return iosConstraint;
        }

        public void setIosConstraint(int iosConstraint) {
            this.iosConstraint = iosConstraint;
        }

        public String getAndroidVersions() {
            return androidVersions;
        }

        public void setAndroidVersions(String androidVersions) {
            this.androidVersions = androidVersions;
        }

        public int getAndroidConstraint() {
            return androidConstraint;
        }

        public void setAndroidConstraint(int androidConstraint) {
            this.androidConstraint = androidConstraint;
        }

        public String getContent() {
            return content;
        }

        public void setContent(String content) {
            this.content = content;
        }

        public String getUrl() {
            return url;
        }

        public void setUrl(String url) {
            this.url = url;
        }

        public String getLastVersions() {
            return lastVersions;
        }

        public void setLastVersions(String lastVersions) {
            this.lastVersions = lastVersions;
        }
    }
}
